show users

This command displays users that are currently logged into the device's management interfaces (CLI and Web) and optionally, all configured users.

Syntax

show users {all}

Command

Description

Enter

Displays currently logged-in users. For each logged-in user, the command displays the following:

Type of management interface (console, Telnet, SSH, or Web).
User's username.
Remote IP address from where the user has logged in.
Duration (days and time) of the session.
Unique index (session ID).

all

Displays currently active logged-in users and all configured users in the Local Users table. For each configured user, the command displays the following:

Index row of user in the Local Users table.
User's username.
Date and time that the password was last changed.
    Date and time when the password will expire ("Unlimited" if no expiration date).
Status of the password (e.g., "Unlimited" or "Valid").

Command Mode

Basic and Privileged User

Note

The current session from which the show command is run is displayed with an asterisk (*).
The device can display management sessions of up to 24 hours. After this time, the duration counter is reset.

Example

Displays currently logged-in users:
# show users
[0]*    ssh          Admin      10.11.2.2            0d00h17m55s
[0]     WEB        Admin      10.11.2.2            0d00h01m44s
Displays currently logged-in users and all users configured in the Local Users table:
M800B# show users all
[Active Sessions]:
[0]*    ssh        Admin      10.11.2.2            0d00h05m16s
[0] WEB Admin 10.11.2.2 0d00h02m40s [All Users]: Index Username PW Last Change     PW Expr. Date Status [0]      Admin      2025-02-23 07:25:05    Unlimited      Unlimited [1]      User       2025-02-23 07:25:05    Unlimited       Unlimited